@font-face {
    font-family: 'icomoon';
    src:  url('/fonts/icomoon.eot?cpw6yq');
    src:  url('/fonts/icomoon.eot?cpw6yq#iefix') format('embedded-opentype'),
      url('/fonts/icomoon.ttf?cpw6yq') format('truetype'),
      url('/fonts/icomoon.woff?cpw6yq') format('woff'),
      url('/fonts/icomoon.svg?cpw6yq#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
  a{
      text-decoration: none;
  }
  body{
     box-sizing: border-box;
     /* height: 6000px; */
  }
  ul{
      list-style: none;
  }
  .search-index{
      display: flex;
      position: fixed;
      top: 0;
      left: 50%;
      height: 44px;
      width: 100%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      min-width: 320px;
      max-width: 540px;
      background-color: #f6f6f6;
      border-top: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
  }
  .search{
      position: relative;
      height: 26px;
      line-height: 24px;
      border: 1px solid #f6f6f6;
      flex: 1;
      top: 10px;
      padding-left: 25px;
      border-radius: 5px;
      box-shadow: 1px 2px 3px rgba(0,0, 0, .2);
      font-size: 12px;
      color: #ccc;
  }
  .search::before {
      content: '';
      font-family: 'icomoon';
      position: absolute;
      top: 2px;
      left: 5px;
      width: 23px;
      height: 23px;
      font-size: 15px;
  }
   .user{
      width: 44px;
      height: 44px;
      /* background-color: rgb(163, 163, 173); */
      /* position: fixed;
      top: 0;
      right: 0; */
      font-size: 12px;
      text-align: center;
  }
  .user::before{
      font-family:'icomoon' ;
      content: '';
      display: block;
      width: 23px;
      height: 23px;
      margin: 4px auto 0;
      font-size: 20px;


      
  }
  .focus{
      padding-top: 44px;
  }
  .focus img {
      width: 100%;
  }
  .local-nav {
      display: flex;
      height: 64px;
      background-color: #fff;
      margin: 3px 4px;
      border-radius: 8px;

  }
  .local-nav li {
      flex: 1;
  }
  .local-nav a {
      display: flex;
      /* 将对齐方式改为y轴 */
      flex-direction: column;
      /* 侧轴居中对齐 */
      align-items: center;
      font-size: 12px;
  }
  .local-nav li [class^="local-icon"]{
      width: 32px;
      height: 32px;
      background-color:pink;
      margin-top: 8px;
      background: url(../images/nav.png)no-repeat 0 0 ;
      background-size: cover;
  }
  .local-nav li .local-icon-icon2{
      background-position: 0 -32px;
  }
  .local-nav li .local-icon-icon3{
    background-position: 0 -64px;
}
.local-nav li .local-icon-icon4{
    background-position: 0 -96px;
}
.local-nav li .local-icon-icon5{
    background-position: 0 -128px;
}

.nav-common{
    display: flex;
    height: 88px;
    border-radius: 8px;
    overflow: hidden;
    background-color: pink;
}
.nav-common:nth-child(2){
    margin: 3px 0;
}
.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
}
.nav-items a {
    flex: 1;
    color: #fff;
    font-size: 14px;
    line-height: 44px;
    text-align: center;
    text-shadow: 1px 1px rgba(0,0, 0, .2);
}
.nav-items:nth-child(-n+2){
     border-right: 1px solid #fff;
}

.nav-items a:nth-child(1){
    border-bottom: 1px solid #fff;
}
.nav-items:nth-child(1) a {
    border: 0;
    background: url(../images/pic1.png)no-repeat bottom center;
    background-size: 50px auto;
}
.nav-common:nth-child(1){
    background: -webkit-linear-gradient(left,#fa5a55,#fa994d);
}
.nav-common:nth-child(2){
    background: -webkit-linear-gradient(left,#4b90ed,#53bced);
}
.nav-common:nth-child(3){
    background: -webkit-linear-gradient(left,#34c2a9,#6cd559);
}
.subnav-entry{
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    display: flex;
    flex-wrap: wrap;
    padding: 5px 0;
}
.subnav-entry li {
    flex: 20%;
}
.subnav-entry a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subnav-entry span[class^="subnav-entry-icon"]{
    width: 28px;
    height: 28px;
    background-color: pink;
    background: url(../images/nav.png)no-repeat 0 -192px;
    background-size: cover;
    margin-top: 4px;
}
.subnav-entry a .subnav-entry-icon-icon2{
    background-position: 0 -224px;
}
.subnav-entry a .subnav-entry-icon-icon3{
    background-position: 0 -256px;
}
.subnav-entry a .subnav-entry-icon-icon4{
    background-position: 0 -280px;
}
.sale-box{
    margin: 4px;
    border-top: 1px solid #bbb;
    background-color: #fff;
}
.sale-hd{
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sale-hd h2{
    position: relative;
    text-indent: -9999px;
    overflow: hidden;
}
.sale-hd h2::after{
    content: "";
    position: absolute;
    top: 8px;
    left:20px;
    width: 79px;
    height: 25px;
    background: url(../images/pic3.png)no-repeat;
    background-size: 79px auto;

}
.more{
    position: absolute;
    top: 8px;
    right: 5px;
    background:-webkit-linear-gradient(left,#ff506c,#ff6bc6);
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
    color: #fff;
}
.more::after{
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.row {
    display: flex;
}
.row a {
    flex: 1;
    border-bottom: 1px solid #eee;
}
.row a:nth-child(1){
    border-right: 1px solid #eee;
}
.row a img {
    width: 100%;
}

